package cn.kgc.userconsumer.fallback;

import cn.kgc.userconsumer.client.UserFeignClient;
import cn.kgc.userconsumer.pojo.User;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @ClassName UserFeignClientFallBack
 * @Description TODO
 * @Author yaozhaobao
 * @Date 2021/1/21 17:02
 * @Version 1.0
 **/
@Component
public class UserFeignClientFallBack implements UserFeignClient {
    @Override
    public User login(String username, String pwd) {
        return null;
    }

    @Override
    public User login2(User user1) {
        return null;
    }

    @Override
    public void userinfo( int count) {
        System.out.println("出错了，无法访问userprovider");
    }
}
